home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / quicktime / all macintosh / quicktime for java / slideshow / readme.txt < prev    next >
Encoding:
Text File  |  2000-06-23  |  2.6 KB  |  55 lines

  1. =============================================================================
  2. QuickTime for Java SDK                              Updated: 30 November 1998
  3.  
  4. Read Me Notes to "Slide Show" Demo and Sample Code
  5.  
  6. =============================================================================
  7. This demo program shows how to use the ImageViewer object to present a sequence of images one at a time using mouse clicks from the user.
  8.  
  9. =============================================================================
  10. The minimum runtime requirements for this Sample Code are:
  11.  
  12. - Common
  13.     - Sun Compliant Java Runtime Environment 1.1
  14.     - QuickTime 3 
  15.     - QTJava.zip
  16.  
  17. - MacOS:
  18.     - System 8 or later
  19.     - Macintosh Runtime for Java (MRJ) 2.1
  20.  
  21. - Windows 95, 98, or NT::
  22.     - JRE/JDK from Sun Microsystems, Inc. recommended
  23.  
  24. =============================================================================
  25. Media requirements for this Sample Code are found in the media directory of the QTJava SDK:
  26.  
  27. (1) ShipX.pct in the images directory
  28.  
  29. =============================================================================
  30. Notes & Comments
  31.  
  32. SlideShow.java -- Source file that subclasses an existing QTDrawable object to create a simple SlideShow presentation from a sequence of Images. It defines the addedTo method to register its interest in Mouse events - the mouse down is used to go to the next image, when the alt/option key is down the show presents the previous image in its sequence.
  33.  
  34. ViewerDemo.java    -- The source file containing the Main Class.
  35.  
  36. Possible extensions:
  37. The SlideShow could be added to the Compositor for a smooth redraw - it  ensures that when the next/previous image is set the user won't see a flash of the redrawing of the changed image.
  38.  
  39. An alternative to using the Compositor would be to have an alternate version of this SlideShow which applied effects when transitioning to another image.
  40.  
  41. =============================================================================
  42. General Comments
  43.  
  44. - QTSession.open and close:
  45.  
  46. A QTSession.open will perform a gestalt check to ensure that QuickTime is present and is initialized. This is a required call before any QuickTime Java classes can be used.
  47.  
  48. When the user closes the window the program will quit, first calling QTSession.close to terminate QuickTime. It is necessary for programs to call QTSession.close if they have previously called QTSession.open in order to shut down QuickTime properly.
  49.  
  50.  
  51. =============================================================================
  52.  
  53. QuickTime and QuickTime for Java are trademarks of Apple Computer, Inc.
  54. (c) 1998 Apple Computer Inc. All rights reserved.
  55.